ACHO v1.01 - enhanced echo

Revised 3-Apr-96. Copyright (c) 1996 by Rune Berg. TextTools Freeware.

Usage - Description - Example - Options - Limitations


USAGE

acho [log logfile] [option] arg [...]


DESCRIPTION

acho writes, to standard output, arg ... with the following args replaced by ANSI codes:

argANSI code for
.normal
.n
normal display
.high
.hi
high intensity
.revreverse video
.fg=blablack foreground
.fg=redred foreground
.fg=gregreen foreground
.fg=yelyellow foreground
.fg=blublue foreground
.fg=magmagenta foreground
.fg=cyacyan foreground
.fg=whiwhite foreground
.bg=blablack background
.bg=redred background
.bg=gregreen background
.bg=yelyellow background
.bg=blublue background
.bg=magmagenta background
.bg=cyacyan background
.bg=whiwhite background
acho does not print a space between args.

If you don't specify logfile, acho writes error messages to standard error.


EXAMPLE

The command:
	acho .bg=whi .fg=red "hello world" .n

prints the one-line message "hello world" to the screen in red on white and then resets the display to normal.


OPTIONS

-n : Don't print newline after last arg.

-v : Print version banner and usage info to standard error (or logfile, if given), then exit.

No other options are recognized. Unrecognized options are printed.


LIMITATIONS

acho requires a colour display.

The ANSI.SYS driver must be loaded. If not already present, add the following line to your "config.sys" file:

	DEVICE=C:\DOS\ANSI.SYS


End of document